<template>
  <el-descriptions :column="1" title=" " border>
    <el-descriptions-item
      label="收货人员"
      label-class-name="my-label"
      class-name="my-content"
      width="10"
      >{{ prop.resolve.receiveMan }}</el-descriptions-item>
    <el-descriptions-item label="收货时间" label-align="left">
      {{
        prop.resolve.receiveTime
          ? dayjs(prop.resolve.receiveTime).format("YYYY-MM-DD HH:mm:ss")
          : "/"
      }} 
      </el-descriptions-item>
    <el-descriptions-item label="收货备注"
      >{{prop.resolve.receiveNote}}</el-descriptions-item
    >
  </el-descriptions>
</template>
<script setup lang="ts">
import * as dayjs from 'dayjs';
let prop = defineProps<{
  resolve:any
}>()
</script>
<style scoped>
.my-label {
  background: var(--el-color-success-light-9);
}
.my-content {
  background: var(--el-color-danger-light-9);
}
</style>
